import request from '@/utils/request'

// 查询 补签列表
export function listSign_agin(query) {
  return request({
    url: '/ehr/sign_agin/list',
    method: 'get',
    params: query
  })
}

// 查询 补签详细
export function getSign_agin(signRecordId) {
  return request({
    url: '/ehr/sign_agin/' + signRecordId,
    method: 'get'
  })
}

// 新增 补签
export function addSign_agin(data) {
  return request({
    url: '/ehr/sign_agin',
    method: 'post',
    data: data
  })
}

// 修改 补签
export function updateSign_agin(data) {
  return request({
    url: '/ehr/sign_agin',
    method: 'put',
    data: data
  })
}

// 删除 补签
export function delSign_agin(signRecordId) {
  return request({
    url: '/ehr/sign_agin/' + signRecordId,
    method: 'delete'
  })
}

// 提交 补签审批
export function approvalSign_agin(data) {
  return request({
    url: '/ehr/sign_agin/approval',
    method: 'post',
    data: data
  })
}
